package top.xphu.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author xphu
 * @version 1.0
 * @date 2021/9/3 16:00
 */
@Data
@Component
@ConfigurationProperties(prefix = "kafka.bootstrap")
public class KafkaConfigProperties {
    private String servers;
    private String topic;
    private String jaas;
    private String krb5;
    private String acks;
    private Integer retries;
    private Integer backoff;
}
